package zwp.exercise.service.exercisedemo.chapterThree.basicdatatypes;

/**
 * @Author zwp14
 * @create 2025/10/15 22:16
 * @description 字符类型char和Unicode码
 */
public class Gess {
    public static void main(String[] args) {
        char wordD = 'd', word = '@';
        int p = 23045, p2 = 63;

        System.out.println("d在Unicode表中的顺序位置是：" + (int) wordD);
        System.out.println("@在Unicode表中的顺序位置是：" + (int) word);
        System.out.println("Unicode表中第23045位是：" + (char) p);
        System.out.println("Unicode表中第63位是：" + (char) p2);
    }
}
